package com.clkj.zhonghui.pojo.topic;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;

/**
 * @author yawang
 * @date 2024-07-11 14:20:30
 * 文章视频管理
 */
@ApiModel( value ="t_zh_topic" )
@Table( name ="t_zh_topic" )
public class Topic  implements Serializable {

    @Id
   	@Column(name = "topic_id" ,updatable = false)
	@ApiModelProperty( value="null")
	private Integer topicId;

	/**
	 * 标题
	 */
   	@Column(name = "topic_title" )
	@ApiModelProperty( value="标题")
	private String topicTitle;

	/**
	 * 主图
	 */
   	@Column(name = "topic_cover" )
	@ApiModelProperty( value="主图")
	private String topicCover;

	/**
	 * 内容，文章为图片，视频为视频
	 */
   	@Column(name = "topic_content" )
	@ApiModelProperty( value="内容，文章为图片，视频为视频")
	private String topicContent;

	/**
	 * 门店ID
	 */
   	@Column(name = "shop_id" )
	@ApiModelProperty( value="门店ID")
	private Integer shopId;

	/**
	 * 作者
	 */
   	@Column(name = "topic_auth" )
	@ApiModelProperty( value="作者")
	private String topicAuth;

	/**
	 * 时间
	 */
   	@Column(name = "topic_date" )
	@ApiModelProperty( value="时间")
	private String topicDate;

	/**
	 * 状态 0禁用 1启用
	 */
   	@Column(name = "topic_status" )
	@ApiModelProperty( value="状态 0禁用 1启用")
	private Integer topicStatus;

	/**
	 * 0为文章 1为视频
	 */
   	@Column(name = "topic_flag" )
	@ApiModelProperty( value="0为文章 1为视频")
	private Integer topicFlag;

	/**
	 * 排序
	 */
   	@Column(name = "topic_order" )
	@ApiModelProperty( value="排序")
	private Integer topicOrder;


    @Column(name = "tag_ids" )
    @ApiModelProperty( value="文章或视频标签id")
    private String tagIds;

    @Transient
    private Integer priseCount;

    @Transient
    private Integer priseStatus;


    public Integer getPriseStatus() {
        return priseStatus;
    }

    public void setPriseStatus(Integer priseStatus) {
        this.priseStatus = priseStatus;
    }

    public Integer getPriseCount() {
        return priseCount;
    }

    public void setPriseCount(Integer priseCount) {
        this.priseCount = priseCount;
    }


    public String getTagIds() {
        return tagIds;
    }

    public void setTagIds(String tagIds) {
        this.tagIds = tagIds;
    }
  public Integer getTopicId() {
    return topicId;
  }

  public void setTopicId(Integer topicId) {
    this.topicId = topicId;
  }


  public String getTopicTitle() {
    return topicTitle;
  }

  public void setTopicTitle(String topicTitle) {
    this.topicTitle = topicTitle;
  }


  public String getTopicCover() {
    return topicCover;
  }

  public void setTopicCover(String topicCover) {
    this.topicCover = topicCover;
  }


  public String getTopicContent() {
    return topicContent;
  }

  public void setTopicContent(String topicContent) {
    this.topicContent = topicContent;
  }


  public Integer getShopId() {
    return shopId;
  }

  public void setShopId(Integer shopId) {
    this.shopId = shopId;
  }


  public String getTopicAuth() {
    return topicAuth;
  }

  public void setTopicAuth(String topicAuth) {
    this.topicAuth = topicAuth;
  }


  public String getTopicDate() {
    return topicDate;
  }

  public void setTopicDate(String topicDate) {
    this.topicDate = topicDate;
  }


  public Integer getTopicStatus() {
    return topicStatus;
  }

  public void setTopicStatus(Integer topicStatus) {
    this.topicStatus = topicStatus;
  }


  public Integer getTopicFlag() {
    return topicFlag;
  }

  public void setTopicFlag(Integer topicFlag) {
    this.topicFlag = topicFlag;
  }


  public Integer getTopicOrder() {
    return topicOrder;
  }

  public void setTopicOrder(Integer topicOrder) {
    this.topicOrder = topicOrder;
  }

}
